// 上下课
const startEndCourseMixin = {
	data(){
		return{
			//直播是否结束
			isEnd: false
		}
	},
	methods: {
		// 接收上下课信息
		getEndInfo(data){
			this.isEnd = data.isOver;
			// 下课
			if(data.isOver){
				this.truePlaySrc = ''
			}
			// 上课
			else{
				this.truePlaySrc = this.bkTruePlaySrc; 
			}
		},
	}
}

export default startEndCourseMixin;